package com.game.astd.spirit.model;

public class Pair<T, P>
{
	public T first;
	public P second;

	public Pair(T f, P s)
	{
		this.first = f;
		this.second = s;
	}

	public T getT()
	{
		return first;
	}

	public P getP()
	{
		return second;
	}

	public static <FT, ST> Pair<FT, ST> makePair(FT f, ST s)
	{
		return new Pair<FT, ST>(f, s);
	}

	public String toString()
	{
		return "{" + first + "," + second + "}";
	}
}
